package com.column;
import java.io.File;
public class Main43 {
    public static void main(String[] args){
        File file = new File("./testdr");
        if(file.isDirectory()){
            if(file.list().length>0){
                System.out.println("文件夹不为空");
            }else{
                System.out.println("文件夹为空");
            }
        }else{
            System.out.println("不是文件夹");
        }
    }
}
